package top.yueyazhui.vhr.bean;

import java.util.List;

/**
 * 保存分页查询的结果
 */
public class ResponsePage {

    private Long total;
    private List<?> data;

    @Override
    public String toString() {
        return "ResponsePage{" +
                "total=" + total +
                ", data=" + data +
                '}';
    }

    public ResponsePage() {
    }

    public ResponsePage(Long total, List<?> data) {
        this.total = total;
        this.data = data;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<?> getData() {
        return data;
    }

    public void setData(List<?> data) {
        this.data = data;
    }
}
